projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa968e
)
* src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,
author
Glenn Morris
<rgm@gnu.org>
Wed, 13 Jan 2016 17:49:50 +0000
(12:49 -0500)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 13 Jan 2016 17:49:50 +0000
(12:49 -0500)
or its hook, to move point. (Bug#22348)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index 3f9371652e7144e52b0b8ef18bcad928b5e92a89..1468e7a2be1707d84d1c2bc94d2eff00a8ef83b8 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-1999,7
+1999,7
@@
the current buffer's major mode. */)
/* To select a nonfundamental mode,
select the buffer temporarily and then call the mode function. */
- record_unwind_
protect (save_excursion_restore, save_excursion_save ()
);
+ record_unwind_
current_buffer (
);
Fset_buffer (buffer);
call0 (function);